<%--                                                                       --%>
<%-- Copyright (c) 2001-2004 BroadVision, Inc.  All rights reserved.       --%>
<%--                                                                       --%>
<%-- This software is copyrighted. Under the copyright laws, this software --%>
<%-- may not be copied, in whole or in part, without prior written consent --%>
<%-- of BroadVision, Inc. or its assignees. This software is provided      --%>
<%-- under the terms of a license between BroadVision and the recipient,   --%>
<%-- and its use is subject to the terms of that license.                  --%>
<%--                                                                       --%>
<%-- This software may be protected by one or more U.S. and International  --%>
<%-- patents.  Certain applications of BroadVision One-To-One software are --%>
<%-- covered by U.S. patent 5,710,887.                                     --%>
<%--                                                                       --%>
<%-- TRADEMARKS: BroadVision and BroadVision One-To-One are registered     --%>
<%-- trademarks of BroadVision, Inc., in the United States and the         --%>
<%-- European Community, and are trademarks of BroadVision, Inc., in other --%>
<%-- countries.  The BroadVision logo, is a trademark of BroadVision,      --%>
<%-- Inc., in the United States and other countries. Additionally, IONA    --%>
<%-- and Orbix are trademarks of IONA Technologies, Ltd.  RSA, MD5, and    --%>
<%-- RC2 are trademarks of RSA Data Security, Inc.                         --%>
<%--                                                                       --%>

<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 

<!-- Zone 5 starts here.  -->
<table class="zoneFive" width="100%" border="0" cellspacing="0" cellpadding="0" 
         summary="contact list area">
  <tr>
    <td valign="top">
    
    <div class="app_pageTitle">
      <%@ include file="/cs/microsite/micrositeNaviInfo.jsp" %>
    </div> 
    
    <!--end page title area here-->
    
    <div class="app_pageSubtitle">
      <span class="left">
        <bean:message key="cs.contacts.index"/>
      </span>
    </div>  

     
<!--end title bar here-->

<!--start main content area here-->
<!-- Start List here -->
<table class="dataTable" border="0" cellspacing="1" cellpadding="2" 
       summary="Contact list table" width="100%">
  <tr class="listHeader"> 
    <th id="Name" width="24%" align="left"><bean:message key="cs.name"/></th>
    <th id="ContactInfo" width="25%" align="left"><bean:message key="cs.participant.contact.info"/></th>
    <th id="Email" width="26%" align="left"><bean:message key="cs.profile.emailaddress"/></th>
    <th id="phone" width="25%" align="left"><bean:message key="cs.profile.businessphone"/></th>
  </tr>
  
  <c:forEach var="contact" items="${contactListView.map.contactList}" varStatus="index"> 
    <c:if test="${index.count%2 == 0}">
      <c:set var="classVar" value="listEven" scope="page" />
     </c:if>
     <c:if test="${index.count%2 != 0}">
       <c:set var="classVar" value="listOdd" scope="page" />
     </c:if>
     
    <tr class='<c:out value="${classVar}"/>' > 

    <td headers="Name" nowrap align="left" width="24%">
      <c:out value="${contact.map.fullName}"/>
    </td>
    <td headers="ContactInfo" nowrap align="left" width="25%">
      <c:out value="${contact.map.contactInfo}"/>
    </td>
    
    <td headers="Email" nowrap align="left" width="26%">
      <a href='mailto:<c:out value="${contact.map.EMAIL}"/>'>
        <c:out value="${contact.map.EMAIL}"/>
      </a>
    </td>

    <td headers="Phone" nowrap align="left" width="25%">
      <c:out value="${contact.map.BUS_PHONE}"/>
    </td>
  </c:forEach>  
  <c:if test="${ empty contactListView.map.contactList }">
  	<tr class="listOdd">
  	<td colspan="4" align="center">
  		<bean:message key="cs.collaboration.noContacts"/>
  	</td>
  	</tr>
  </c:if>
</table>
</td>
</tr>
</table>
